package com.ecp.commons.bean;

import com.ecp.commons.serialization.MongoBean;

public class IDS2 extends MongoBean {
	private static final long	serialVersionUID	= 1L;
	private long				curValue			= 0;

	@Override
	public String getCollectionName() {
		return "ids";
	}

	public long getCurValue() {
		return curValue;
	}

	public void setCurValue(long curValue) {
		this.curValue = curValue;
	}

	public long getNextValue() {
		return this.getLong("nextValue", 0);
	}
}
